.container {
    background: #f4f4f4;
    min-height: 100vh;
    padding-bottom: 80px;
  }
  
  /* 顶部导航 */
  .topBar {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 10;
  }
  
  .backButton {
    background: none;
    border: none;
    padding: 0;
    margin-right: 12px;
    cursor: pointer;
  }
  
  .topBar h2 {
    font-size: 16px;
    color: #333;
    margin: 0;
    flex-grow: 1;
    text-align: center;
  }
  
  /* 地址选择 */
  .addressSection {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    margin: 12px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.2s;
  }
  
  .addressSection:active {
    background: #f9f9f9;
  }
  
  .addressContent {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .addressName {
    font-weight: bold;
    margin-bottom: 4px;
  }
  
  .addressText {
    color: #666;
    font-size: 14px;
    word-break: break-all;
  }
  
  .addressHint {
    color: #999;
    font-size: 14px;
  }
  
  .arrowIcon {
    width: 16px;
    height: 16px;
    margin-left: 8px;
  }
  
  /* 商品信息 */
  .productCard {
    display: flex;
    padding: 16px;
    margin: 12px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }
  
  .productImage {
    width: 100px;
    height: 100px;
    margin-right: 16px;
    border-radius: 4px;
    object-fit: cover;
  }
  
  .productInfo {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .productInfo h3 {
    font-size: 14px;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
  }
  
  .specText {
    font-size: 12px;
    color: #999;
    margin: 0 0 12px 0;
  }
  
  .priceRow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
  }
  
  .price {
    color: #ff5000;
    font-weight: bold;
    font-size: 16px;
  }
  
  .quantityControl {
    display: flex;
    align-items: center;
    overflow: hidden;
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  
  .quantityControlButton {
    background: #f5f5f5;
    border: #333 solid 1px;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .quantityControlButton:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
  
  .quantityControlButton img {
    width: 14px;
    height: 14px;
  }
  
  .quantityInput {
    width: 40px;
    text-align: center;
    border: none;
    font-size: 14px;
    padding: 6px 0;
    /* -moz-appearance: textfield; */
  }
  
  .quantityInput::-webkit-outer-spin-button,
  .quantityInput::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
  
  /* 底部操作栏 */
  .footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: white;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    z-index: 10;
  }
  
  .total {
    font-size: 14px;
    color: #666;
  }
  
  .total span {
    color: #ff5000;
    font-size: 16px;
    font-weight: bold;
  }
  
  .buyButton {
    background: #ff5000;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
  }
  
  .buyButton:disabled {
    background: #ccc;
    cursor: not-allowed;
  }
  
  .buyButton:active:not(:disabled) {
    transform: scale(0.98);
  }
  
  /* 提示信息 */
  .hintBox {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
  }
  
  .hintMessage {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 14px;
    animation: fadeIn 0.3s;
    max-width: 80vw;
    text-align: center;
  }
  
  /* 加载和错误状态 */
  .loading,
  .error {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-size: 16px;
    color: #666;
  }
  
  .error {
    color: #ff4d4f;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translate(-50%, -40%);
    }
    to {
      opacity: 1;
      transform: translate(-50%, -50%);
    }
  }